.headerTop {
  background: #f2f2f2;
  font-size: 12px;
  height: 30px;
}

.content {
  width: 1000px;
  margin: 0 auto;
}

.headerTop {
  line-height: 30px;
  text-align: center;
  .topLeft {
    float: left;
    li {
      padding: 0 10px;
      height: 30px;
      float: left;
      color: #000;
    }
    li a:hover {
      color: #ff0000;
    }
    li:nth-of-type(2) {
      padding-left: 0;
      a {
        color: #ff0000;
        padding-left: 0;
      }
    }
    li:nth-of-type(1) {
      padding: 0;
      img {
        margin-top: 3px;
      }
    }
  }
  .topRight {
    float: right;
    margin-right: 80px;
    li {
      padding-left: 20px;
      height: 30px;
      float: left;
    }
    li:nth-of-type(3) {
      position: relative;
      .code {
        position: absolute;
        left: -10px;
        display: none;
        width: 100px;
        border: 2px solid #f2f2f2;
        img {
          width: 100%;
        }
        p {
          line-height: 25px;
          text-align: center;
          background: #fff;
        }
      }
      a:hover {
        color: #ff0000;
      }
      a:hover + .code {
        display: block;
      }
    }
    li:nth-of-type(5) {
      width: 30px;
      height: 30px;
      a {
        overflow: hidden;
        display: block;
        width: 100%;
        height: 100%;
        text-indent: -200%;
        background: url("../../img/base_z.png") no-repeat -600px -323px;
      }
    }
  }
  a {
    color: #000;
  }
}

/* logo部分样式 */
#logo {
  height: 90px;
  .content {
    height: 100%;
    div {
      height: 100%;
    }
    a {
      display: block;
      height: 100%;
      width: 205px;
      float: left;
    }
    .logo_main {
      width: 205px;
      background: url("../../img/base_z.png") no-repeat -853px -295px;
      text-indent: -100%;
    }
    .logo_small {
      width: 151px;
      background: url("../../img/base_z.png") no-repeat -889px -74px;
    }
  }
}

/*导航条样式*/
#nav {
  height: 42px;
  background: #000;
  line-height: 42px;
  z-index: 20;
  .nav_left {
    height: 42px;
    float: left;
    li {
      position: relative;
      margin-right: 50px;
      line-height: 42px;
      float: left;
      .pop_up {
        position: absolute;
        display: none;
        left: 0;
        width: 630px;
        box-shadow: 0px 2px 10px #ccc;
        z-index: 8;
        background: white;
        .submenu {
          float: left;
          width: 274px;
          padding: 0 20px 0 20px;
          .title {
            width: 100%;
            height: 44px;
            line-height: 44px;
            font-size: 14px;
            font-weight: bold;
            border-bottom: 1px solid #e7e7e7;
            text-align: left;
          }
          ul {
            margin-bottom: 20px;
            li {
              height: auto;
              margin-top: 10px;
              line-height: 15px;
              float: none;
              a {
                color: #666;
                font-size: 12px;
              }
              a:hover {
                color: red;
              }
            }
          }
          .more {
            width: 300px;
            height: auto;
            position: absolute;
            left: 0;
            bottom: -2px;
            text-align: right;
            a {
              color: #000;
              font-size: 12px;
            }
          }
        }
        .submenu:nth-of-type(1) {
          border-right: 1px solid #e7e7e7;
        }
      }
    }
    li:hover a {
      color: red;
    }
    a {
      color: white;
      display: block;
      height: 100%;
    }
  }
  .nav_right {
    float: right;
    margin-right: 15px;
    cursor: pointer;
    li {
      margin-left: 15px;
      float: left;
      color: white;
    }
    li:nth-child(1) {
      text-align: center;
      width: 23px;
      background: url("../../img/base_z.png") no-repeat -1017px -219px;
      font-size: 12px;
      color: #a8a8a8;
      position: relative;
      //overflow: hidden;
      .hid_goods{
        position: absolute;
        width: 300px;
        height:0;
        background:white;
        z-index:10;
        left:-150px;
        box-shadow: 0 0 10px #000;
        transition: all 0.5s;
        overflow: hidden;
        .goods_list{
          dl{
            border-bottom: 1px solid #ccc;
            margin:0 10px;
          }
          dl dt{
            width: 80px;
            float: left;
            height:100px;
            img{
              width: 50px;
              height: 70px;
              margin:15px;
              border: 1px solid #ccc;
            }
          }
          dl dd{
            width: 150px;
            float: left;
            height:100px;
            text-align: left;
            color:black;
            p{
              height:50px;
            }
            span{
              display: block;
              line-height:20px;
            }
            .remove{
              float:right;
            }
          }
        }
      }
    }
  }
}
/* 主体部分 */
#main{
  .leader{
    ul{
      margin:20px 0;
      li{
        float:left;
        line-height: 20px;
        font-size:14px;
        a{
          color:#929292;
        }
        a:hover{
          color:#db2828;
        }
      }
      #event{
        margin-right:30px
      }
    }
  }

  .wrap{
    .wrap_left{
      width: 480px;
      float:left;
      margin-right: 40px;
      .swiper-container{
        height:640px;
      }
      ul{
        margin-bottom:20px;
        li{
          float:left;
          width: 96px;
          img{
            width: 90%;
            height: 90%;
          }
        }
      }
    }
    .wrap_right{
      width: 480px;
      float:left;
      .product_title{
        width: auto;
        height: auto;
        overflow: hidden;
        font-size: 28px;
        font-weight: bold;
        line-height: 32px;
        padding: 4px 40px 0 0;
        letter-spacing: 1px;
        text-transform: uppercase;
      }
      .product_name{
        width: auto;
        padding-left: 2px;
        padding-right: 30px;
        height: auto;
        overflow: hidden;
        color: #929292;
        h1{
          font-size: 16px;
        }
      }
      .product_price_box {
        position: relative;
        padding: 22px 0 0;
        line-height: 32px;
      }
      .product_price {
        width: auto;
        float: left;
        margin: 0 10px 0 0;
        overflow: hidden;
        white-space: nowrap;
        .product_current_price {
          font-size: 28px;
          font-weight: bold;
          color: #dd2828;
        }
      }
      .box_effect {
        width: auto;
        padding: 10px;
        margin: 40px 0 30px;
        background: #eee;
        .box_effect_content {
          width: auto;
          padding: 0;
          background: #eee;
          border: 0;
          left: 0;
          bottom: 0;
          font-size: 14px;
          font-weight: 500;
          .box_effect_content_first {
            width: 310px;
            height: auto;
            padding-left: 48px;
            overflow: hidden;
            line-height: 20px;
            white-space: normal;
            background: url(https://cdn11.mei.com/images/detail/icon_sales.png) 10px center no-repeat;
            span{
              margin-right: 5px;
            }
          }
        }
      }
      .color{
        li{
          width: 60px;
          height:90px;
          float:left;
          border: 1px solid #ccc;
          img{
            width: 100%;
            height:70px;
          }
          p{
            text-align: center;
            background: #000;
            line-height:20px;
            color:white;
          }
        }
      }
      .count{
        line-height: 30px;
        margin-top: 20px;
        p{
          line-height: 30px;
          color:#666;
        }
        a{
          display: inline-block;
          height: 30px;
          width: 30px;
          float: left;
          font-size: 20px;
          background: #ccc;
          text-align: center;
          cursor: pointer;
        }
        span{
          display: inline-block;
          width: 30px;
          text-align: center;
          float: left;
        }
      }
      .aaa{
        line-height:20px;
        margin: 10px 0;
        div{
          float:left;
          padding-left:80px;
          background: url("../../img3/zhi.png") no-repeat left 0;
        }
        a{
          float:right;
          color:black;
        }
        a:hover{
          color:red;
          text-decoration: underline;
        }
      }
      .addCar{
        margin-top: 20px;
        a{
          display: block;
          width: 230px;
          height: 40px;
          text-align: center;
          color:white;
          line-height: 40px;
          float:left;
          background:#dd2828;
          cursor: pointer;
        }
        a:nth-of-type(1){
          background: #222;
          margin-right:20px;
          span{
            display:inline-block;
            width: 100%;
            height: 100%;
            background: url("../../img3/bag.png") no-repeat 50px center;
          }
        }
      }
    }
  }
}
/*倒计时*/
.timedown{
  margin-top: 50px;
  #timedown{
    width: 70px;
    height:40px;
    float:left;
    b{
      font-weight: 900;
    }
  }
  .time{
    float:left;
    span,i{
      display: inline-block;
      width: 40px;
      height: 40px;
      line-height: 40px;
      vertical-align: middle;
      text-align: center;
    }
    span{
      border:1px solid #ccc;
      font-size: 30px;
      font-weight: 900;
    }
  }
}

#msg{
  .line{
    border-top:1px solid #c6c6c6;
  }
  h3{
    margin-top:20px;
    font-size:40px;
    text-align:center;
    font-weight:900;
  }
  p{
    text-align: center;
    font-size:18px;
  }
  p:nth-of-type(2){
    margin:10px 0;
    font-size:14px;
    color:#ccc;
  }
  table{
    line-height:51px;
    text-align: center;
    margin: 0 auto;
    tr:nth-of-type(2n+1){
      td{
        background: #e7e7e7;
      }
    }
    th{
      width: 120px;
      height: 51px;
      background: black;
      color:white;
    }
    td{
      width: 290px;
      height: 51px;
    }

  }
  .showImg{
    img{
      display: inline-block;
      margin:20px 5px;
    }
  }
}

/* 尾部部分 */
#footer {
  background: #f2f2f2;
  .content {
    padding-top: 30px;
    .footer_top {
      margin-bottom: 20px;
      ul {
        li {
          width: 166px;
          height: 60px;
          float: left;
          a {
            display: block;
            width: 165px;
            height: 100%;
            text-align: center;
            color: #000;
            font-size: 12px;
            line-height: 95px;
            background: url("../../img/base_z.png") no-repeat;
            border-right: 1px solid black;
          }
          .last {
            border-right: 0;
          }
          .a1 {
            background-position: -153px -146px;
          }
          .a1:hover {
            background-position: -153px -264px;
          }
          .a2 {
            background-position: -543px -104px;
          }
          .a2:hover {
            background-position: -543px 7px;
          }
          .a3 {
            background-position: -150px -382px;
          }
          .a3:hover {
            background-position: -301px -229px;
          }
          .a4 {
            background-position: -419px 5px;
          }
          .a4:hover {
            background-position: -419px -107px;
          }
          .a5 {
            background-position: -301px -346px;
          }
          .a5:hover {
            background-position: -301px -459px;
          }
          .a6 {
            background-position: -301px -112px;
          }
          .a6:hover {
            background-position: -301px 5px;
          }
        }
      }
    }
    p {
      margin-bottom: 10px;
      text-align: center;
      font-size: 12px;
      a {
        margin: 0 12px;
        color: black;
      }
      span {
        text-align: center;
        margin-right: 20px;
        line-height: 20px;
        img {
          margin-left: 48%;
        }
      }
    }
  }

}
